package com.ds.infrastructure.hyperspace.console.service.inf;

import com.ds.infrastructure.hyperspace.console.entity.table.TbNodeMetricsAggregation;
import com.ds.infrastructure.hyperspace.console.entity.table.TbResultMap;
import com.ds.infrastructure.hyperspace.console.entity.where.TbCustomWhere;
import com.ds.infrastructure.hyperspace.console.service.BaseService;

import java.util.List;

/**
 * @author: yaozhendong
 * @create: 2019-11-01 15:34
 **/
public interface INodeMetricsAggregationService extends BaseService<TbNodeMetricsAggregation> {

    int insertList(List<TbNodeMetricsAggregation> recordList);

    List<TbResultMap> sumRequestSecondsCount(TbCustomWhere mapWhere);

    void clean(Long executeTime4EndTime);
}
